package com.example.demo;

import com.example.demo.constant.Constant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Configuration;

/**
 * Mq配置类
 *
 * @author xiaobeibei@gogpay.cn
 * @date 2023-12-08 15:02
 */
@Configuration
public class MqConfig {

    /**
     * 导出通知队列
     *
     * @return 队列
     */
    public Queue exportQueue(){
        return new Queue(Constant.EXPORT_QUEUE,true);
    }
}
